package com.ciaojian.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ciaojian.core.mapper.WorkServiceMapper;
import com.ciaojian.core.model.WorkService;
import com.ciaojian.core.model.vo.WorkServiceVO;
import com.ciaojian.core.service.WorkServiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author oxiny
 */
@Service
public class WorkServiceServiceImpl extends WorkServiceService<WorkServiceMapper, WorkService> implements IService<WorkService> {

    @Resource
    private WorkServiceMapper dWorkServiceMapper;

    public List<WorkServiceVO> getByWorkerIdList(Integer workerId, Integer isShow) {
        return dWorkServiceMapper.getByWorkerIdList(workerId, isShow);
    }
}
